package com.hrbxlh.support.attendance.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hrbxlh.support.attendance.domain.AttenceConfig;
import lombok.Builder;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author lx
 */
@Data
@Builder
public class AttendanceConfigVO {

    /**
     * 手机考勤开关
     */
    private boolean switchOn;

    /**
     * 考勤周期开始时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 考勤周期结束时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date endTime;

    /**
     * 配置信息
     */
    private List<AttenceConfig> info;

    /**
     * 课程id
     */
    private Integer courseId;

    /**
     * 班级id
     */
    private Integer classId;

}
